package com.example.recuitactivity.Builder;

import com.example.recuitactivity.bean.RecuitInfo;

public abstract class RecruitInfoAbstractBuilder {
    RecuitInfo recuitInfo=new RecuitInfo();
    public abstract void buildItemId(long itemId);
    public abstract void buildUsername(String name);
    public abstract void buildCompany(String company);
    public abstract void buildSalary(String salary);
    public abstract void buildEduBackground(String edubg);
    public abstract void buildScale(String scale);
    public abstract void buildLocation(String location);
    public abstract void buildDetail(String detail);
    public abstract void buildUpdateTime();
    //钩子方法
    public boolean isNeedId(){
        return false;
    }
    public abstract RecuitInfo getResult();
}
